package cn.iocoder.yudao.module.member.controller.admin.newsStudyInfo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

@ApiModel(value = "管理后台 - 新闻修改" )
@Data
public class NewsStudyInfoIdReqVO {
    @ApiModelProperty(value = "ID集合",required = true)
    @NotEmpty(message = "ID集合不能为空")
    private List<Long> ids;

    @ApiModelProperty(value = "按钮批量操作(发布:release,不发布:noRelease,删除:delete,更换栏目:typeIds,还原:recovery,月榜:month,周榜:week)"  ,required = true)
    @NotBlank(message = "操作按钮集合不能为空")
    private String operate;

    @ApiModelProperty(value = "栏目类型ID(新闻(研究成果)批量修改栏目类型时必传)"  )
    private Long typeId;

    @ApiModelProperty(value = "不纳入时必填(周榜月榜:ranking,列表:news)"  )
    private String queryType;
}
